package com.ruoyi.task.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 任务对象 task
 *
 * @author KevenPotter
 * @date 2024-04-28 16:49:47
 */
@Data
@Accessors(chain = true)
public class Task {

    private static final long serialVersionUID = 1L;

    /*主键编号*/
    private Long id;
    /*任务名称*/
    @Excel(name = "任务名称")
    private String title;
    /*发布人员编号*/
    @Excel(name = "发布人员编号")
    private Long publishUserId;
    /*具体任务*/
    @Excel(name = "具体任务")
    private String taskInfo;
    /*任务图片*/
    @Excel(name = "任务图片")
    private String taskImage;
    /*富文本*/
    @Excel(name = "富文本")
    private String taskText;
    /*类目*/
    private String item;
    /*任务类型(1.普通任务 2.精选任务)*/
    @Excel(name = "任务类型(1.普通任务 2.精选任务)")
    private String type;
    /*是否置顶(0.否 1.是)*/
    @Excel(name = "是否置顶(0.否 1.是)")
    private String isToTop;
    /*联系方式*/
    @Excel(name = "联系方式")
    private String contactInformation;
    /*审核人员编号*/
    @Excel(name = "审核人员编号")
    private Long reviewUserId;
    /*审核状态(1.审核等待 98.审核驳回 99.审核通过)*/
    @Excel(name = "审核状态(1.审核等待 98.审核驳回 99.审核通过)")
    private Integer reviewStatus;
    /*审核驳回原因*/
    @Excel(name = "审核驳回原因")
    private String reviewRejectionReason;
    /*创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /*更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /*审核时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewTime;

    /*自定义属性*/

    /*任务图片列表*/
    private List<String> taskImageList;
    /*发布人员名称*/
    private String publishUserName;
    /*发布人员头像*/
    private String avatar;
    /*审核人员名称*/
    private String reviewUserName;
    /*小程序全搜索*/
    private String appletsSearch;
    /*评论数量*/
    private Integer commentCounts;

}
